home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: mxsld2.pd.infn.it!LORETI
- From: loreti@mxsld2.pd.infn.it (Maurizio Loreti)
- Subject: Re: Fast Fields?
- X-Nntp-Posting-Host: mxsld2.pd.infn.it
- Message-ID: <Dn2CD2.MFH@news.cern.ch>
- Sender: news@news.cern.ch (USENET News System)
- Reply-To: loreti@mxsld2.pd.infn.it
- Organization: I.N.F.N. Padova - CDF/CMS VAXcluster
- References: <4fqj6v$i71@hermes.louisville.edu>
- Date: Tue, 20 Feb 1996 07:19:49 GMT
-
- In article <4fqj6v$i71@hermes.louisville.edu>, arwild01@homer.louisville.edu (Alan Wild) writes:
- >Actually I'm more concerned with convienent. I am currently coding a
- >small routine to parse a space delimted text file, but I only need to
- >keep field #6 of 8. I know I could simply declare temporary variables
- >to store the extra functions and fscanf my way through the file, but is
- >there an alternative?
- >
- >Basically I'm lookng for some of the functionality of perl/awk in a
- >C routine so that I don't have to deal with dummy variables and whatnot.
- >
- >BTW, This project has to be done in C. This is only a small piece of
- >the whole puzzle, but an essential piece nonetheless.
- >
- >Any thoughts?
- >
- >-Alan
-
- I too would have considered an AWK program, probably an one-liner; why
- do you want it in C? Homework :-) ?
- --
- Maurizio Loreti http://mvxpd5.pd.infn.it/wwwcdf/mlo.html
- Un. of Padova, Dept. of Physics - Padova, Italy loreti@padova.infn.it
-